package in.abip.chisame.model;

/**
 * Interface for active record that has on/off state, level such as brightness
 * for lamp or temperature for AC.
 * 
 * @author Julot.
 * @since Wednesday, January 26th, 2011.
 */
public interface ISwitch {
	/** @return integer value */
	public Integer getValue();
	
	/** Set value */
	public void setValue(Integer value);
	
	/** @return string representative name for value */
	public String getValueName();
	public String getValueName(Integer value);
	
	/** Toggle value between min and max value */
	public void toggle();
}
